Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@turf/bbox-polygon

Package Overview
Dependencies
Maintainers
4
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/bbox-polygon

turf bbox-polygon module

  • 4.7.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
700K
decreased by-26.43%
Maintainers
4
Weekly downloads
 
Created

What is @turf/bbox-polygon?

@turf/bbox-polygon is a module from the Turf.js library that allows you to create a Polygon feature from a bounding box (bbox). This is useful for geographic data manipulation and visualization, especially when you need to represent an area defined by a bounding box as a polygon.

What are @turf/bbox-polygon's main functionalities?

Create Polygon from Bounding Box

This feature allows you to create a Polygon feature from a bounding box. The bounding box is defined by an array of four numbers: [minX, minY, maxX, maxY]. The resulting polygon can be used in various geospatial analyses and visualizations.

const turf = require('@turf/bbox-polygon');
const bbox = [0, 0, 10, 10];
const polygon = turf(bbox);
console.log(JSON.stringify(polygon));

Other packages similar to @turf/bbox-polygon

Keywords

FAQs

Package last updated on 12 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc